package com.ly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ly.entity.Budget;
import com.ly.pojo.vo.BudgetVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author : 黑渊白花
 * @date : 2025/2/8 22:08
 */
@Mapper
public interface BudgetMapper extends BaseMapper<Budget> {
    public IPage<BudgetVO> getAllPage(
            @Param("page") IPage<BudgetVO> page,
            String userName, String teamName,Integer status);

    public IPage<BudgetVO> getPage(
            @Param("page") IPage<BudgetVO> page,
            Integer teamId,String userName, Integer status);
}
